package ru.mirent.entity.listeners.event;

import ru.mirent.entity.Observer;
import ru.mirent.entity.notifications.FixtureNotification;

/**
 * Слушатель одиночного события.
 */
public abstract class SingleNotificationListener implements Observer {
    private Class<? extends FixtureNotification> notification;

    public SingleNotificationListener(Class<? extends FixtureNotification> notification) {
        this.notification = notification;
    }

    public Class<? extends FixtureNotification> getNotification() {
        return notification;
    }
}
